package com.kygl.teacher.dao;
import java.util.List;

import com.kygl.reaserch.vo.ReaserchRegister;
import com.kygl.teacher.vo.CourseRegister;
import com.kygl.teacher.vo.Teacher;;
public interface ITeacherDao {
	public boolean addTeacher(Teacher t);
	public boolean delTeacher(Teacher t);
	public boolean modifyTeacher(Teacher t);
	public boolean delTeacherById(int id);
	public Teacher findTeacherById(int id);
	public Teacher findTeacherById(int deptId, int workId);
	public boolean findTeacherByName(String name);
	public int findTeacherByNameAndPassword(String name,String password);
	public int findTeacherByWidAndPassword(int wid,String password);
	public List<Teacher> findAllTeacher();

}
